﻿using MongoDB.Attributes;
using System;

namespace Resn.WhuPub.DML
{
        /// <summary>
        /// 书籍数据模型
        /// </summary>

        public class BookModel:IIdentity
        {
                #region 属性

                /// <summary>
                /// 获取或设置标识
                /// </summary>
                /// <value>
                /// 标识
                /// </value>
                [MongoId]
                public String Id { get; set; }

                /// <summary>
                /// 获取联系人标识
                /// </summary>
                /// <value>
                /// 联系人标识
                /// </value>
                public String ContactId { get; set; }

                /// <summary>
                /// 获取或设置书籍名称
                /// </summary>
                /// <value>
                /// 书籍名称
                /// </value>
                public String Name { get; set; }

                /// <summary>
                /// 获取或设置参与编写方式
                /// </summary>
                /// <value>
                /// 参与编写方式
                /// </value>
                public String PartakeType { get; set; }

                /// <summary>
                /// 获取或设置书籍出版社
                /// </summary>
                /// <value>
                /// 出版社
                /// </value>
                public String Publisher { get; set; }

                /// <summary>
                /// 获取或设置丛书名称
                /// </summary>
                /// <value>
                /// 丛书名称
                /// </value>
                public String Series { get; set; }

                /// <summary>
                /// 获取或设置版型
                /// </summary>
                /// <value>
                /// 版型
                /// </value>
                public String VersionType { get; set; }

                /// <summary>
                /// 获取或设置版次
                /// </summary>
                /// <value>
                /// 版次
                /// </value>
                public int VersionTimes { get; set; }

                /// <summary>
                /// 获取或设置印次
                /// </summary>
                /// <value>
                /// 印次
                /// </value>
                public int PrintTimes { get; set; }

                /// <summary>
                /// 获取或设置开本
                /// </summary>
                /// <value>
                /// 开本
                /// </value>
                public String Format { get; set; }

                /// <summary>
                /// 获取或设置价格
                /// </summary>
                /// <value>
                /// 价格
                /// </value>
                public Double Price { get; set; }

                /// <summary>
                /// 获取或设置书号
                /// </summary>
                /// <value>
                /// 书号
                /// </value>
                public String ISBN { get; set; }

                /// <summary>
                /// 获取或设置责任编辑
                /// </summary>
                /// <value>
                /// 责任编辑
                /// </value>
                public String ChargeEditor { get; set; }

                /// <summary>
                /// 获取或设置编辑室
                /// </summary>
                /// <value>
                /// 编辑室
                /// </value>
                public String EditorialOffice { get; set; }

                /// <summary>
                /// 获取或设置策划编辑
                /// </summary>
                /// <value>
                /// 策划编辑
                /// </value>
                public String PlanningEditor { get; set; }

                /// <summary>
                /// 获取或设置图书分类
                /// </summary>
                /// <value>
                /// 图书分类
                /// </value>
                public String Classify { get; set; }

                /// <summary>
                /// 获取或设置出书时间
                /// </summary>
                /// <value>
                /// 出书时间
                /// </value>
                public DateTime CreateTime { get; set; }

                /// <summary>
                /// 获取或设置内容简介
                /// </summary>
                /// <value>
                /// 内容简介
                /// </value>
                public String ContentAbstract { get; set; }

                #endregion 属性
        }
}